Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service as object #17

Merged
merged 19 commits into from
Aug 9, 2023
Merged

Service as object #17

merged 19 commits into from
Aug 9, 2023

Conversation

danielturin
Copy link
Collaborator

No description provided.

@am-ylm am-ylm changed the base branch from main to reactor August 9, 2023 07:05
reactor/demux.go Outdated Show resolved Hide resolved
reactor/demux.go Outdated Show resolved Hide resolved
@danielturin danielturin merged commit 88fe010 into reactor Aug 9, 2023
2 checks passed
danielturin added a commit that referenced this pull request Aug 13, 2023
* reactor refactor (wip)

* fix issues

* another fix

* enrich tests

* Pool wrapper (#15)

* added function wrappers

* update makefile

* fix pool wrapper tests

* exporting Event[T any] and its parameters

* fix tests

* making Event nonce not exported

* fix nonce de-export

* small change in readme

* accept two types for reactor

* nil ref protection

* Service as object (#17)

* Service as an object

* demux uses Service object

* refactor reactor with new Events

* changing rb to queue

* debugging prints

* prints

* adding prints

* remove debug printing

* control queue to ringbuffer

* adding queue type logging

* controlQ to ringbuffer

* eventQ to queue DS

* both event and control Q are ringbuffers no override

* check if svc is not nil

* eventQ is Queue controlQ is RB

* eventQ is Queue controlQ is queue

* fix demux tests

* fix reactor tests for reactive services

* remove logs

---------

Co-authored-by: Daniel Turinn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants